package cn.hellochaos.generator.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 渔业对应的图片存储信息
 * </p>
 *
 * @author fmy
 * @since 2021-07-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class FisheryImage  extends BaseColumns//extends Model<FisheryImage>
{

    private static final long serialVersionUID = 1L;

    @TableId(value = "fishery_image_id", type = IdType.AUTO)
    private Integer fisheryImageId;

    private Integer fisheryId;

    private String fisheryImagePath;

    private Integer ideletetag;

//    private String createdBy;
//
//    private String modifiedBy;
//
//    private LocalDateTime createdTime;
//
//    private LocalDateTime modifiedTime;

    private Integer imageType;

//    @Override
//    protected Serializable pkVal() {
//        return this.fisheryImageId;
//    }

}
